package han.entity;

import han.module.distribute.DistributeEnty;

import java.io.Serializable;

/**
 * @author: Han
 * @date: 2018/6/11 9:27
 * @dscription: 发送QQ群发言索引实体
 */
public class NeedFetchUrlEntity implements DistributeEnty, Serializable {

    private static final long SERIAL_VERSION_UID = 1L;

    /**
     * 程序生成id
     */
    private long id;
    /**
     * 群名
     */
    private String title;
    /**
     * 群号
     */
    private long host;
    /**
     * 发言内容
     */
    private String text;
    /**
     * 发言人昵称
     */
    private String author;
    /**
     * 发言人QQ号
     */
    private String authorUrlS;
    /**
     * 发言时间
     */
    private String time;

    @Override
    public long getId() {
        return id;
    }

    @Override
    public long getHostId() {
        return host;
    }

    public void setHostId(long host) {
        this.host = host;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getAuthorUrlS() {
        return authorUrlS;
    }

    public void setAuthorUrlS(String authorUrlS) {
        this.authorUrlS = authorUrlS;
    }

    @Override
    public String toString() {
        return "NeedFetchUrlEntity{" + "id=" + id +
                ", title='" + title + '\'' +
                ", host=" + host +
                ", text='" + text + '\'' +
                ", author='" + author + '\'' +
                ", authorUrlS='" + authorUrlS + '\'' +
                ", time=" + time +
                '}';
    }
}
